package com.jader.beans;

import java.io.Serializable;

public class Order implements Serializable {

	private static final long serialVersionUID = 1L;
	private int orderid;
	private User user;
	private Goods goods;
	private Address address;
	private int number;
	private String remark;
	private String payway;
	private String time;
	private String status;

	public Order() {
		super();
	}

	public Order(int orderid, User user, Goods goods, Address address,
			int number, String remark, String payway, String time, String status) {
		super();
		this.orderid = orderid;
		this.user = user;
		this.goods = goods;
		this.address = address;
		this.number = number;
		this.remark = remark;
		this.payway = payway;
		this.time = time;
		this.status = status;
	}

	public int getOrderid() {
		return orderid;
	}

	public void setOrderid(int orderid) {
		this.orderid = orderid;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Goods getGoods() {
		return goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getPayway() {
		return payway;
	}

	public void setPayway(String payway) {
		this.payway = payway;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "Order [orderid=" + orderid + ", user=" + user + ", goods="
				+ goods + ", address=" + address + ", number=" + number
				+ ", remark=" + remark + ", payway=" + payway + ", time="
				+ time + ", status=" + status + "]";
	}

}
